function compute(type,oneNum,twoNum){
  switch (type) {
    case 'jia':
      return oneNum + twoNum;
    case 'jian':
      return oneNum - twoNum;
    case 'cheng':
      return oneNum * twoNum;
    case 'chu':
      return oneNum / twoNum;
    default:
      break;
  }
}
export {
  compute
}
